/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package javaapplication13;

import java.util.Scanner;

/**
 *
 * @author Irina
 */
public class CMDRunner
{
     public static void main(String[] args) throws Exception
    {
        String InputString;
        Controller cnt=new Controller();
        System.out.println("Введите команду.Для получения списка команд введите help.");
        Scanner sc=new Scanner(System.in);
   while (true)
      {
        InputString=sc.nextLine();
        cnt.executeCommand(InputString);
      } 
    }   
}
